package com.asdan.seededu.service;

import java.util.List;

import com.asdan.seededu.entity.security.User;

public interface OrderService {
	//订单和支付
		public User getOrderInfoByID(int ID,int spid,int fpid) ;
		public boolean getPriceById(int spid,int fpid,String price) ;
		public boolean addOrders(int uid,int spid,int fpid,String price,String information);
		public boolean updateUser(User stu,int uid);
		
		public String AddAlipay(String ordersid,String uid,String out_trade_no,String subject,String price,String body,
				String show_url,String receive_name,String receive_address,String receive_zip,
				String receive_phone,String receive_mobile);
		
		public String getOrdersId(int suid,int spid);
		
		public List getOrder(String orders_id);
}
